<?php

class House{
    
    public $idHouse;
    public $idSituation;
    public $idHeatingRegulation;
    public $idShape; // Forme de la maison
    public $M1; //Dimention de la maison
    public $M2; //Dimention de la maison
    public $M3; //Dimention de la maison
    public $M4; //Dimention de la maison
    public $M5; //Dimention de la maison
    public $M6; //Dimention de la maison
    public $M7; //Dimention de la maison  
   
    public $idCity; // Ville de résidence
    public $roomsTemp; //Température ambiante
    public $year; // Année de construction
    public $floors; //Nombre d'étage de la maison
    public $hasBalcony;
    public $hasEaves;
    public $walls = array(); //Tableau contenant les murs de la maison
    public $roof; //Toit de la maison (objet Roof)
    public $zenithalWindows = array(); //Fenêtre zénithale de la maison (array of object ZenithalWindow)
    public $ceiling; //Plafonds de la maison pris dans le calcul (Object Ceiling)
    public $floor; //Sol de la maison pris dans le calcul (Object Floor)
    public $heating; // chauffage de la maison (Object HeatPump, OilBoiler)
    
    //Constructeur
    public function __construct($idHouse, $idSituation, $idHeatingRegulation, $idShape, $M1, $M2, $M3, $M4, $M5, $M6, $M7, $idCity, $roomsTemp, $floors, $year, $walls, $floor, $ceiling, $roof, $zenithalWindows, $heating, $hasBalcony, $hasEaves){
        
        $this->idHouse = $idHouse;
        $this->idSituation = $idSituation;
        $this->idHeatingRegulation = $idHeatingRegulation;
        $this->idCity = $idCity;
        $this->idShape = $idShape;
        $this->roomsTemp = $roomsTemp;
        $this->year = $year;
        $this->walls = $walls;
        $this->hasBalcony = $hasBalcony;
        $this->hasEaves = $hasEaves;
        $this->floors = $floors;
        $this->roof = $roof;
        $this->zenithalWindows=$zenithalWindows;
        $this->ceiling=$ceiling;
        $this->floor=$floor;
        $this->heating=$heating;
        
        $this->M1 = $M1;
        $this->M2 = $M2;
        $this->M3 = $M3;
        $this->M4 = $M4;
        $this->M5 = $M5;
        $this->M6 = $M6;
        $this->M7 = $M7;
   
    }
    
}
?>